package com.feituan.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaohu
 * @since 2024-05-09
 */
@Data
public class UserCoupon  {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;


    @ApiModelProperty("0，未使用 1已使用 2已过期")
    private Integer couponStatus;

    /**
     * 优惠卷id
     */
    private Long couponId;


    private Date createTime;

    private Date useTime;




}
